package com.tuanzi.loan.business.repository.system.custom;

import com.tuanzi.loan.business.entity.system.Dictionary;
import com.tuanzi.loan.vo.request.system.DictionarySearchRequest;
import com.tuanzi.loan.vo.response.system.DictionarySearchResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author Ray 2017/09/21
 */

public interface DictionaryRepositoryCustom {

    Page<DictionarySearchResponse> list(DictionarySearchRequest searchRequest, Pageable pageable);

    List<Dictionary> findAllByCodes(List<String> codes);
}
